#include<stdio.h>
#include<conio.h>
void main()
{
	int a, i = 0, j;
	char b[12];
	clrscr();

	printf("\n\n\tPress ECS to SKIP");

	printf("\n\n\tPlease Enter Mobile No.");

	//a = getche();
	while(1)
	{
	   //	a = getche();
		if(i > 11)
		{
			break;
		}
	   //	a= getche();
		window(33, 5+i, 80, 25);
		a = getche();

		if(a == 27)
		{
			break;
		}

		//a = getche();
		//window(38, 7+i, 80, 25);
		//a = getche();
		if(a >= 48 && a <= 57)
		{
			printf("   It is a Numeric Number");
			b[i] = a;
			i++;
		}

		else
		{
			printf("   It is an Invalid n. Please Re Enter");
		}
	}
	printf("\n\n\tYour Mobile No. is: ");

	for(j = 0; j < i; j++)
	{
		printf("%c", b[j]);
	}

	getch();

}